class CreateTodoItmes < ActiveRecord::Migration
  def self.up
    create_table :todo_items do |t|
      t.column :name, :string
      t.column :todo_id, :integer
      t.column :user_id, :integer
      t.column :closed, :boolean
      t.column :private, :boolean
    end
  end

  def self.down
    drop_table :todo_items
  end
end
